home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / forms / RCS / main.c,v < prev    next >
Encoding:
Text File  |  1992-03-02  |  2.4 KB  |  137 lines

  1. head     1.4;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.4
  10. date     92.03.02.15.27.51;  author bmiller;  state Exp;
  11. branches ;
  12. next     1.3;
  13.  
  14. 1.3
  15. date     91.01.07.18.02.37;  author mottsmth;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     90.01.12.12.04.14;  author douglis;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     89.02.10.09.28.33;  author brent;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @Template for a main program
  32. @
  33.  
  34.  
  35. 1.4
  36. log
  37. @copyright year changed by bmiller.
  38. @
  39. text
  40. @/* 
  41.  * prog.c --
  42.  *
  43.  *    Program to ....
  44.  *
  45.  * Copyright 1992 Regents of the University of California
  46.  * Permission to use, copy, modify, and distribute this
  47.  * software and its documentation for any purpose and without
  48.  * fee is hereby granted, provided that the above copyright
  49.  * notice appear in all copies.  The University of California
  50.  * makes no representations about the suitability of this
  51.  * software for any purpose.  It is provided "as is" without
  52.  * express or implied warranty.
  53.  */
  54.  
  55. #ifndef lint
  56. static char rcsid[] = "$Header: /sprite/lib/forms/RCS/main.c,v 1.3 91/01/07 18:02:37 mottsmth Exp Locker: bmiller $ SPRITE (Berkeley)";
  57. #endif /* not lint */
  58.  
  59. #include <stdio.h>
  60. #include <option.h>
  61.  
  62. Option optionArray[] = {
  63.     {OPT_TRUE, "f", (char *)&foo, "Describe the -f option"},
  64. };
  65. int numOptions = sizeof(optionArray) / sizeof(Option);
  66.  
  67.  
  68. /*
  69.  *----------------------------------------------------------------------
  70.  *
  71.  * main --
  72.  *
  73.  *    <explain>.
  74.  *
  75.  * Results:
  76.  *    None.
  77.  *
  78.  * Side effects:
  79.  *    None.
  80.  *
  81.  *----------------------------------------------------------------------
  82.  */
  83.  
  84. void
  85. main(argc, argv)
  86.     int argc;
  87.     char *argv[];
  88. {
  89.     argc = Opt_Parse(argc, argv, optionArray, numOptions, 0);
  90.  
  91.     exit(0);
  92. }
  93.  
  94. @
  95.  
  96.  
  97. 1.3
  98. log
  99. @Update copyright date
  100. @
  101. text
  102. @d6 1
  103. a6 1
  104.  * Copyright 1991 Regents of the University of California
  105. d17 1
  106. a17 1
  107. static char rcsid[] = "$Header: /sprite/lib/forms/RCS/main.c,v 1.2 90/01/12 12:04:14 douglis Exp Locker: mottsmth $ SPRITE (Berkeley)";
  108. @
  109.  
  110.  
  111. 1.2
  112. log
  113. @changed copyright year.
  114. @
  115. text
  116. @d6 1
  117. a6 1
  118.  * Copyright 1990 Regents of the University of California
  119. d17 1
  120. a17 1
  121. static char rcsid[] = "$Header: /sprite/lib/forms/RCS/main.c,v 1.1 89/02/10 09:28:33 brent Exp Locker: douglis $ SPRITE (Berkeley)";
  122. @
  123.  
  124.  
  125. 1.1
  126. log
  127. @Initial revision
  128. @
  129. text
  130. @d6 1
  131. a6 1
  132.  * Copyright 1989 Regents of the University of California
  133. d17 1
  134. a17 1
  135. static char rcsid[] = "$Header: /sprite/lib/forms/RCS/proto.c,v 1.2 89/01/07 04:12:18 rab Exp $ SPRITE (Berkeley)";
  136. @
  137.